package com.htfyun.eink.pw.draw.pen.epd.charcoal;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;


public enum BmpColorConstant {
    Instance;

    private ArrayList<Integer> colors = null;

    public List<Integer> getColors() {
        ensureColors();
        return colors;
    }

    private void ensureColors() {
        if (colors != null) {
            return;
        }
        colors = new ArrayList<>();

        Collections.addAll(colors, ColorDef00.COLOR);
        Collections.addAll(colors, ColorDef01.COLOR);
        Collections.addAll(colors, ColorDef10.COLOR);
        Collections.addAll(colors, ColorDef11.COLOR);
        Collections.addAll(colors, ColorDef20.COLOR);
        Collections.addAll(colors, ColorDef21.COLOR);
        Collections.addAll(colors, ColorDef30.COLOR);
        Collections.addAll(colors, ColorDef31.COLOR);

    }


}
